<script><!--SCRIPT AJAX Convocatoria-->
	function changeConvocatoria(str)
	{
		if (window.XMLHttpRequest)
		  {// code for IE7+, Firefox, Chrome, Opera, Safari
		  xmlhttp=new XMLHttpRequest();
		  }
		else
		  {// code for IE6, IE5
		  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	  	  }
		xmlhttp.open("GET","../lib/utils/setConvocatoria.php?q="+str,true);
		xmlhttp.send();
		for(i=1;i<90000000;i++){
				
		}
		window.location.reload();

	}
</script>    
<div id="rightContainer">
    <div id="Bienvenida">
    <div id="cuadro">
    <h1>Bienvenido</h1>
    </div>
    
    <div >
    <br>
            <?php echo $_SESSION['MM_UsName'] ?><br><br>
            <?php echo $_SESSION['MM_nmb_target'] ?><br>
            <a href="<?php echo $logoutAction ?>">Salir</a>
            </div>
    </div>
    <br style="clear:both"/>
    <div id="convocatoria">
    <div id="cuadro">
    <h1>Convocatoria</h1>
    </div>
    <br>
    <?php 
    if(isset($_SESSION['MM_tp_programa'])&$_SESSION['MM_tp_programa']=="VIGENTES"){
		?>
        <select name="slConvocatoria" id="slConvocatoria" onChange="changeConvocatoria(this.value)">
        <option <?php if($_SESSION['MM_id_cat_convocatoria']<17){?> selected="selected"<?php }?>  value="0" >Seleccione</option>
        <option <?php if($_SESSION['MM_id_cat_convocatoria']==17){?> selected="selected"<?php }?> value="17">Becas Vinculación</option>
        <option <?php if($_SESSION['MM_id_cat_convocatoria']==18){?> selected="selected"<?php }?> value="18">Experimenta</option>
		<option <?php if($_SESSION['MM_id_cat_convocatoria']==19){?> selected="selected"<?php }?> value="19">Empléate</option>
        <option <?php if($_SESSION['MM_id_cat_convocatoria']==20){?> selected="selected"<?php }?> value="20">Mi Primera Empresa</option>
		<option <?php if($_SESSION['MM_id_cat_convocatoria']==21){?> selected="selected"<?php }?> value="21">I+D+i</option>
		<option <?php if($_SESSION['MM_id_cat_convocatoria']==22){?> selected="selected"<?php }?> value="22">Programa de apoyo empresarial</option>
		<option <?php if($_SESSION['MM_id_cat_convocatoria']==23){?> selected="selected"<?php }?> value="23">Programa de apoyo a la experiencia</option>
        </select>
        
    <?php    
    }/*else{*/
   
	/*}*/
	
    ?>
    
    
    </div>
</div><!--contenedor derecho-->